﻿<AntList Grid="gutter" DataSource="@Data">
    <Item Context="item">
        <AntCard Title="@(item.Title)">
            <Body>
                Card context
            </Body>
        </AntCard>
    </Item>
</AntList>

@code{

    private ListGridType gutter = new ListGridType { Gutter = 16, Column = 4 };

    public List<BasicItem> Data = new List<BasicItem>
    {
        new BasicItem { Title = "Title 1"},
        new BasicItem { Title = "Title 2"},
        new BasicItem { Title = "Title 3"},
        new BasicItem { Title = "Title 4"},
    };

    public class BasicItem
    {
        public string Title { get; set; }
    }

}


